<template>
  <div class="startcertification">
    <el-row>
      <el-col :span="24">
        <div class="mian">
          <ul class="mian-title">
            <li class="mian-img"><img src="../../../assets/home/renzheng-anquan.png"></li>
            <li>为满足您的业务需求，需要您使用认证服务，服务可能采集如下信息：</li>
            <ul class="mian-text">
              <li>组织机构名称及统一社会信用代码或工商注册号</li>
              <li>法定代表人姓名及证件号</li>
              <li>经办人姓名及证件号</li>
              <li>对公账户打款认证</li>
            </ul>
            <li class="mian-radio">
              <el-checkbox v-model="checked"></el-checkbox>
              <span>我已阅读并同意</span>
              <span class="text">《实名认证服务协议》</span>
            </li>
            <li>
              <el-button type="danger" @click="go"
                  >开始认证</el-button
                >
            </li>
          </ul>
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  data() {
    return {
      checked:false,//勾选
      initData:null,//路由对象
    };
  },
  mounted(){
   this.initData = this.$route.params
  },
  methods:{
    //开始认证跳转下个页面
    go(){
      if(this.checked){
        let {name,region,registration} = this.initData
        this.$router.push({name:'clientinformation',params:{name,region,registration}})
      }else{
        this.$message({
          type:'error',
          message:'请勾选协议'
        })
      }
    },
  }
};
</script>

<style>
</style>